package com.example.radiationarea.world.biome;

import com.example.radiationarea.RadiationAreaMod;
import net.minecraft.core.Registry;
import net.minecraft.resources.ResourceKey;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.level.biome.Biome;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.RegistryObject;

public class ModBiomes {
    public static final DeferredRegister<Biome> BIOMES = DeferredRegister.create(ForgeRegistries.BIOMES, RadiationAreaMod.MOD_ID);
    
    // Radiation Zone biome
    public static final RegistryObject<Biome> RADIATION_ZONE_OBJ = BIOMES.register("radiation_zone", RadiationZoneBiome::makeRadiationZoneBiome);
    public static final ResourceKey<Biome> RADIATION_ZONE = ResourceKey.create(Registry.BIOME_REGISTRY, new ResourceLocation(RadiationAreaMod.MOD_ID, "radiation_zone"));
}